package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.ProjectManagementFile;
import cn.topevery.garden.entity.query.ProjectManagementFileQuery;
import cn.topevery.garden.entity.vo.ProjectManagementFileVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;

/**
 * 项目管理 附件表
 *
 * @author code-generate
 * @date 2022-02-16
 */
public interface ProjectManagementFileDao extends BaseDao<ProjectManagementFile> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<ProjectManagementFileVO> listPage(ProjectManagementFileQuery query);

    ProjectManagementFile getEntityByColumn(String key, String value);

    List<ProjectManagementFile> getListByPid(Integer pId);

    void deleteById(Integer pId);

    void deleteByMainIds(Integer[] ids);
}
